﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020008A7 RID: 2215
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GOKDDCOFHCA : IMessage<GOKDDCOFHCA>, IMessage, IEquatable<GOKDDCOFHCA>, IDeepCloneable<GOKDDCOFHCA>, IBufferMessage
	{
		// Token: 0x17001BDB RID: 7131
		// (get) Token: 0x060062F6 RID: 25334 RVA: 0x00106914 File Offset: 0x00104B14
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GOKDDCOFHCA> Parser
		{
			get
			{
				return GOKDDCOFHCA._parser;
			}
		}

		// Token: 0x17001BDC RID: 7132
		// (get) Token: 0x060062F7 RID: 25335 RVA: 0x0010691B File Offset: 0x00104B1B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GOKDDCOFHCAReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001BDD RID: 7133
		// (get) Token: 0x060062F8 RID: 25336 RVA: 0x0010692D File Offset: 0x00104B2D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GOKDDCOFHCA.Descriptor;
			}
		}

		// Token: 0x060062F9 RID: 25337 RVA: 0x00106934 File Offset: 0x00104B34
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GOKDDCOFHCA()
		{
		}

		// Token: 0x060062FA RID: 25338 RVA: 0x0010693C File Offset: 0x00104B3C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GOKDDCOFHCA(GOKDDCOFHCA other) : this()
		{
			this.iFAJDNNCHMN_ = ((other.iFAJDNNCHMN_ != null) ? other.iFAJDNNCHMN_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060062FB RID: 25339 RVA: 0x00106971 File Offset: 0x00104B71
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GOKDDCOFHCA Clone()
		{
			return new GOKDDCOFHCA(this);
		}

		// Token: 0x17001BDE RID: 7134
		// (get) Token: 0x060062FC RID: 25340 RVA: 0x00106979 File Offset: 0x00104B79
		// (set) Token: 0x060062FD RID: 25341 RVA: 0x00106981 File Offset: 0x00104B81
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public OJGHBHAIGMG IFAJDNNCHMN
		{
			get
			{
				return this.iFAJDNNCHMN_;
			}
			set
			{
				this.iFAJDNNCHMN_ = value;
			}
		}

		// Token: 0x060062FE RID: 25342 RVA: 0x0010698A File Offset: 0x00104B8A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GOKDDCOFHCA);
		}

		// Token: 0x060062FF RID: 25343 RVA: 0x00106998 File Offset: 0x00104B98
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GOKDDCOFHCA other)
		{
			return other != null && (other == this || (object.Equals(this.IFAJDNNCHMN, other.IFAJDNNCHMN) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06006300 RID: 25344 RVA: 0x001069CC File Offset: 0x00104BCC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.iFAJDNNCHMN_ != null)
			{
				num ^= this.IFAJDNNCHMN.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06006301 RID: 25345 RVA: 0x00106A08 File Offset: 0x00104C08
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06006302 RID: 25346 RVA: 0x00106A10 File Offset: 0x00104C10
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06006303 RID: 25347 RVA: 0x00106A19 File Offset: 0x00104C19
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.iFAJDNNCHMN_ != null)
			{
				output.WriteRawTag(42);
				output.WriteMessage(this.IFAJDNNCHMN);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06006304 RID: 25348 RVA: 0x00106A4C File Offset: 0x00104C4C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.iFAJDNNCHMN_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.IFAJDNNCHMN);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06006305 RID: 25349 RVA: 0x00106A8C File Offset: 0x00104C8C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GOKDDCOFHCA other)
		{
			if (other == null)
			{
				return;
			}
			if (other.iFAJDNNCHMN_ != null)
			{
				if (this.iFAJDNNCHMN_ == null)
				{
					this.IFAJDNNCHMN = new OJGHBHAIGMG();
				}
				this.IFAJDNNCHMN.MergeFrom(other.IFAJDNNCHMN);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06006306 RID: 25350 RVA: 0x00106AE0 File Offset: 0x00104CE0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06006307 RID: 25351 RVA: 0x00106AEC File Offset: 0x00104CEC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 42U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					if (this.iFAJDNNCHMN_ == null)
					{
						this.IFAJDNNCHMN = new OJGHBHAIGMG();
					}
					input.ReadMessage(this.IFAJDNNCHMN);
				}
			}
		}

		// Token: 0x040025CC RID: 9676
		private static readonly MessageParser<GOKDDCOFHCA> _parser = new MessageParser<GOKDDCOFHCA>(() => new GOKDDCOFHCA());

		// Token: 0x040025CD RID: 9677
		private UnknownFieldSet _unknownFields;

		// Token: 0x040025CE RID: 9678
		public const int IFAJDNNCHMNFieldNumber = 5;

		// Token: 0x040025CF RID: 9679
		private OJGHBHAIGMG iFAJDNNCHMN_;
	}
}
